package aspecto.log;

public aspect TransporteLog {
	
	private Log log;
	
	
	public TransporteLog() {
		this.log = new Log();
	}
	
	
	pointcut LogSend(): 
		execution (* *.send(*));
	before():LogSend(){
		this.log.write(thisJoinPoint.getSignature() + "");
	}
	
	
	pointcut LogRecieve():
		execution (* *.recieve());
	before():LogRecieve(){
		this.log.write(thisJoinPoint.getSignature() + "");
	}
	
	

}
